package com.yeyks.common.param.member;

import com.yeyks.common.annotation.StrNotEmpty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author shuai
 * @date 2019/12/13 16:26
 */
@Data
public class MemberCardRechargeParam implements Serializable {
    private static final long serialVersionUID = 914700197490584546L;

    @StrNotEmpty(message = "卡号不能为空")
    @ApiModelProperty(value = "卡号")
    private String cardNo;
    @NotNull(message = "充值金额不能为空")
    @ApiModelProperty(value = "充值金额")
    private Integer payAmount;
    @NotNull(message = "赠送金额不能为空")
    @ApiModelProperty(value = "赠送金额")
    private Integer giveAmount;
}
